package com.android.fastride.model.http.entity;

/**
 * 登录用户实体类
 * Created by admin on 2017/9/27.
 */

public class LoginUserInfoEntity {
    /**
     * id : 1
     * phone : 13661303600
     * username : null
     * password : $2a$10$es0L.FRwGfpgbz2v8L45Fu/pm.puRpl1qXkLvYM4uQ4ycG.tH9Pnq
     * name : 赵晟为
     * idCard : 150430199309170379
     * avatar : deliveryStaffs/image.jpg
     * billingAccount : zhaosheng00015@gmail.com
     * commission : 5
     * orderAmount : 0
     * province : 150000
     * city : 150400
     * township : 150430
     * other : 新惠镇
     * lat : 119.901731
     * lng : 42.298277
     * status : 1
     * createdAt : 1523502826000
     * updatedAt : 1523607279000
     * startState : 1
     */

    private int id;
    private String phone;
    private Object username;
    private String password;
    private String name;
    private String idCard;
    private String avatar;
    private String billingAccount;
    private int commission;
    private int orderAmount;
    private String province;
    private String city;
    private String township;
    private String other;
    private String lat;
    private String lng;
    private int status;
    private long createdAt;
    private long updatedAt;
    private int startState;
    // 用户token
    private String authtoken;

    public String getAuthtoken() {
        return authtoken;
    }

    public void setAuthtoken(String authtoken) {
        this.authtoken = authtoken;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Object getUsername() {
        return username;
    }

    public void setUsername(Object username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getBillingAccount() {
        return billingAccount;
    }

    public void setBillingAccount(String billingAccount) {
        this.billingAccount = billingAccount;
    }

    public int getCommission() {
        return commission;
    }

    public void setCommission(int commission) {
        this.commission = commission;
    }

    public int getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(int orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getTownship() {
        return township;
    }

    public void setTownship(String township) {
        this.township = township;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(long createdAt) {
        this.createdAt = createdAt;
    }

    public long getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(long updatedAt) {
        this.updatedAt = updatedAt;
    }

    public int getStartState() {
        return startState;
    }

    public void setStartState(int startState) {
        this.startState = startState;
    }
}
